module.exports = {
  Storage: {
    type: 'session',
    setType () {
      if (process.browser) {
        if (!window.localStorage) {
          return false
        } else if (process.browser) {
          if (this.type === 'session') {
            return window.sessionStorage
          }
          if (this.type === 'local') {
            return window.localStorage
          }
        }
      } else {
        return ''
      }
    },
    set ($key, $value) {

    },
    get ($key) {

    },
    del ($key) {

    }
  }
}
